﻿@model SuperStar.Models.RegisterModel
@{
    ViewBag.Title = "Đăng ký";

}
@section JavaScript
{
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $(".box").find("input, textarea, select, button").uniform();
        });
    </script>
}
@section Styles
{
    <link rel="stylesheet" type="text/css" href="~/Content/theme/uniform.default.css" />
    <link rel="stylesheet" type="text/css" href="~/Content/theme/mystyle_signup.css" />
 }

<div class="box">
    <h2 class="head-big-title">
        <a href="#"><span>Đăng ký</span></a>
    </h2>
    <div class="sub_content">
        <div id="content_signup">
            @using (Html.BeginForm((string)ViewBag.FormAction, "Account"))
            {
                @Html.ValidationSummary(true, "Tạo tài khoản không thành công:")

                <div id="sub_content_signup">
                    <div class="row_signup">
                        <div class="sub_title_signup">
                            Tài khoản <span>(*)</span>
                        </div>
                        <div class="input_signup">
                            @Html.TextBoxFor(m => m.UserName)
                            @Html.ValidationMessageFor(m => m.UserName)
                        </div>
                    </div>
                    <div class="row_signup">
                        <div class="sub_title_signup">
                           Mật khẩu <span>(*)</span>
                        </div>
                        <div class="input_signup">
                            @Html.TextBoxFor(m => m.Password)
                            @Html.ValidationMessageFor(m => m.Password)
                        </div>
                    </div>
                    <div class="row_signup">
                        <div class="sub_title_signup">
                           Nhập lại mật khẩu <span>(*)</span>
                        </div>
                        <div class="input">
                            @Html.TextBoxFor(m => m.ConfirmPassword)
                            @Html.ValidationMessageFor(m => m.ConfirmPassword)
                        </div>
                    </div>
                   
                   <div class="row_signup">
                        <div class="sub_title_signup">
                           Họ tên <span>(*)</span>
                        </div>
                        <div class="input">
                            @Html.TextBoxFor(m => m.Name)
                            @Html.ValidationMessageFor(m => m.Name)
                        </div>
                    </div>
                    <div class="row_signup">
                        <div class="sub_title_signup">
                           Email <span>(*)</span>
                        </div>
                        <div class="input">
                            @Html.TextBoxFor(m => m.Email)
                            @Html.ValidationMessageFor(m => m.Email)
                        </div>
                    </div>
                    <div class="row_signup">
                        <div class="sub_title_signup">
                            Điện thoại
                        </div>
                        <div class="input">
                            @Html.TextBoxFor(m => m.Tel)
                            @Html.ValidationMessageFor(m => m.Tel)
                        </div>
                    </div>
                    
                    <div class="row_signup">
                        <div class="sub_title_signup">
                           &nbsp;
                        </div>
                        <div class="input_signup">
                            <img src="@Url.Content("/account/getcaptcha")" />
                        </div>
                    </div>
                     <div class="row_signup">
                        <div class="sub_title_signup">
                            Nhập mã xác nhận <span>(*)</span>
                        </div>
                        <div class="input_signup">
                           @Html.TextBox("captcha")
                           <input name="hello"/>
                        </div>
                    </div>
                    <div class="row_signup" style="padding-left: 190px; width: 410px; margin: 5px;">
                        <input type="submit" value="Đăng ký" name="Signup" />
                        <input type="reset" value="Nhập lại" name="Reset" />
                    </div>
                </div>
            }
        </div>
    </div>
    <!--End sub_content-->
</div>
